"""
Docker Sandbox Module

Provides secure containerized execution environment with resource limits
and isolation for running untrusted code.
"""
from app.sandbox.client import (
    BaseSandboxClient,
    LocalSandboxClient,
    create_sandbox_client,
)
from app.sandbox.core.docker_sandbox import DockerSandbox
from app.sandbox.core.exceptions import (
    SandboxError,
    SandboxResourceError,
    SandboxTimeoutError,
)

# 通过 all 列表明确指定哪些类、函数和异常可以从这个沙箱包中导入使用
# 将分布在不同子模块中的类和函数集中到包的顶层，简化导入路径
__all__ = [
    "DockerSandbox",
    "BaseSandboxClient",
    "LocalSandboxClient",
    "create_sandbox_client",
    "SandboxError",
    "SandboxTimeoutError",
    "SandboxResourceError",
]
